/**
 * 结账时用的物品 
 */
package com.vodone.v1pin.user.vo
{
	
	[Bindable]
	public class GoodsKCVO
	{
		public function GoodsKCVO( obj:Object )
		{
			parasObj( obj );
		}
		
		private function parasObj( obj:Object ):void
		{
			if( obj.hasOwnProperty("message") && obj["message"].hasOwnProperty("code") && obj["message"]["code"] == 0 ){
				if( obj.hasOwnProperty("data") ){
					if( obj["data"].hasOwnProperty("count") ){
						count = obj["data"]["count"];
					}
					if( obj["data"].hasOwnProperty("id") ){
						id = obj["data"]["id"];
					}
					if( obj["data"].hasOwnProperty("proId") ){
						proId = obj["data"]["proId"];
					}
				}
			}
		}
		
		public var count:int = 0;
		public var id:String = "";
		public var proId:String = "";
	}
	
}